package controllers;

import play.Play;
import play.Logger;
import play.mvc.*;
import net.solosky.maplefetion.*;
import net.solosky.maplefetion.bean.*;
import net.solosky.maplefetion.client.*;
import net.solosky.maplefetion.event.*;
import net.solosky.maplefetion.event.action.*;
import net.solosky.maplefetion.net.*;
import net.solosky.maplefetion.event.action.success.*;
import java.io.*;

public class Application extends Controller {      
  
    protected static void invalidXml(String reason) {
      response.setHeader("Content-Type","text/xml; charset=utf-8");
      error(422,reason);
    }
    
    protected static boolean isBlank(String str) {
      return (str == null || str.equals(""));
    }
}